﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SitePagePopUp.Master" AutoEventWireup="true" CodeBehind="UploadPictures.aspx.cs" Inherits="TranTekBE.UploadPictures" %>
<%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyPopupContent" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>            
            <table style="width:100%">
                <tr>
                    <td></td>
                </tr>
            </table>
            <div class="msgError"><asp:Literal ID="ltError" runat="server" />&nbsp;</div>
            <div>
                <CuteWebUI:UploadAttachments InsertText="Select File Upload" runat="server" ShowCheckBoxes="false"
                        ID="Attachments1" MultipleFilesUpload="true" OnAttachmentAdded="Attachments1_AttachmentAdded">
                    <ValidateOption AllowedFileExtensions="jpg,png" />
                </CuteWebUI:UploadAttachments>
            </div>
            <div>
                <asp:Button ID="btnSubmit" Text="Save" runat="server" Width="70px" 
                    onclick="btnSubmit_Click" />
                <button id="btnCancel" style="width:70px;" type="button">Cancel</button>
            </div>
            <script type="text/javascript">
                function LoadJS(){
                    $("#btnCancel").on("click", function() {
                        window.parent.CloseDialog();
                    });
                }
            </script>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>